package com.cdp.zwy.zwy_manager_back_v1.mapper;

import com.cdp.zwy.zwy_manager_back_v1.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2025/4/5 11:20
 */
@Mapper
public interface EmployeeMapper {
    int insert(Employee employee);
    int deleteById(Integer id);
    int update(Employee employee);
    Employee selectById(Integer id);
    List<Employee> selectAll();
    List<Employee> selectFuzzy(String name);
    Employee selectByUsername(String username);
}
